package com.yanqu.road.entity.activity.celebration;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.DataStatus;

/**
 * @Description 周年庆典进度
 * @Author cwq
 * @Data 2021/7/12 16:00
 */
@FieldTypeAnnotation(tableName = "t_c_activity_celebration_progress")
public class CelebrationCrossProgress extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(update = true,desc = "id")
    private int id;

    @FieldTypeAnnotation(desc = "修复进度")
    private long score;

    public int getActivityId() {
        return activityId;
    }
    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public int getId() {
        return id;
    }
    public void setId(int id) {
        if (this.id != id) {
            this.id = id;
            setOp(DataStatus.Update);
        }
    }

    public long getScore() {
        return score;
    }
    public void setScore(long score) {
        if (this.score != score) {
            this.score = score;
            setOp(DataStatus.Update);
        }
    }


}
